//
//  DataCollectLog.h
//  MarketDataColloctor
//
//  Created by jiro on 10/03/09.
//  Copyright 2010 jiro music. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "../../DbTypes.h"

@interface DataCollectLog : DbTableEntry_
{
	NSString* code0;

	NSString* code1;

	MarketData::Type marketDataType;

	NSDate* latestDate;
}

@property (assign) NSString* code0;
@property (assign) NSString* code1;
@property (assign) NSDate* latestDate;
@property (assign) MarketData::Type marketDataType;

+ (NSString*) tableName;

+ (id) dataCollectLogWithDbValues: (NSArray*) values;

- (NSString*) tableName;

- (NSString*) queryInsertValue;

- (NSString*) sqlInsertStatement;

//	---- sql query  ---- //
+ (NSString*) querySelectAll;

- (NSString*) queryInsert;
- (NSString*) queryInsertValue;

@end
